import React, {PureComponent} from "react"
import { Form, Icon as LegacyIcon } from '@ant-design/compatible';
import '@ant-design/compatible/assets/index.css';
import { Alert, Button, Input, Tooltip } from "antd";
// import iceberg from "../../../../images/svg/iceberg.svg"
import shopSVG from "../../../../images/common/017-shop.svg"
import "./index.less"
import {withRouter} from "react-router"

@withRouter
export default class UnderReview extends PureComponent {
  render() {

    return (
      <div className={'no-shop'}>
        <div className={'no-shop-box'}>
          <div className={'no-shop-icon'}>
            <img src={shopSVG}/>
          </div>
          <div className={'no-shop-h1'}>
            你的帐号还没创建过门店
          </div>
          <div className={'no-shop-h2'}>
            <div>创建门店发布服装商品 创建门店网站空间</div>
          </div>
          <div className={'no-shop-button-box'}>
            <Button size={'large'} type={'primary'} onClick={this.toAppend}>
              <LegacyIcon type={'plus'}/> 现在开始创建
            </Button>
          </div>
        </div>
      </div>
    );
  }

  toAppend = () => {
    const {history, match} = this.props
    history.push(`${match.url}/append`)
  }
}